﻿namespace 职责链模式
{
    public class Manager:Boss
    {
        public Manager(string name) : base(name)
        {
        }

        public override bool PassRequest(Request request)
        {
            var day = request.Day;
            var reason = request.Reason;
            if (reason.Equals("正当理由"))
                return true;
            return false;
        }
    }
}
